<!-- directive:title 代码自动化生产 产品 -->
<!-- directive:breadcrumb 自动化 -->
<div class="panel-body">
    <form class="yxf14 bigpadding" name="From">
        <b class="yxf14-title"> <i></i> 开卡表单 </b>
        <div class="yxflegend">
            <label>工作时间</label>
            <div class="yxf14-box">
                <label class="yxf14-label " ng-class="{must:(frm.workTimeBegin||frm.workTimeEnd||frm.intervalTime)}"> 时间段 </label>
                <div class="yxf14-control">
                    <input type="text" placeholder="请选择时间" style="width:200px;"
                        ng-model="frm.workTimeBegin" name="workTimeBegin" ng-change="frm2.workTimeBeginChange()"
                        select2 config="frm2.workTimeBeginList" select2-model="frm2.workTimeBegin"
                        ng-required="(frm.workTimeBegin||frm.workTimeEnd||frm.intervalTime)"
                    />
                    &nbsp;&nbsp;至&nbsp;&nbsp;
                    <input type="text" placeholder="请选择时间" style="width:200px;"
                        ng-model="frm.workTimeEnd" name="workTimeEnd"
                        select2 config="frm2.workTimeEndList" select2-model="frm2.workTimeEnd"
                        ng-required="(frm.workTimeBegin||frm.workTimeEnd||frm.intervalTime)"
                    />
                    <b ng-show="( From.submitted ) && ( From.workTimeBegin.$invalid || From.workTimeEnd.$invalid )"> 请选择时间 </b>
                </div>
            </div>
            <div class="yxf14-box">
                <label class="yxf14-label " ng-class="{must:(frm.workTimeBegin||frm.workTimeEnd||frm.intervalTime)}"> 域名上报间隔时长大于 </label>
                <div class="yxf14-control">
                    <input type="text" placeholder="请输入整数" style="width:200px;"
                        ng-model="frm.intervalTime" name="intervalTime"
                        ui-validate="{error1: 'Rule.isNum($value)'}" ng-maxlength="11" maxlength="12"
                        ng-required="(frm.workTimeBegin||frm.workTimeEnd||frm.intervalTime)">
                    <b class="note">分钟</b>
                    <b ng-show="(From.intervalTime.$dirty || From.submitted ) && From.intervalTime.$invalid"> 请输入合理整数 </b>
                </div>
            </div>
        </div>
        <!-- 提交 -->
        <div class="yxf14-box">
            <div class="yxf14-control">
                <button type="button" class="btn btn-danger" ng-click="submitFun($event)">提交表单</button>
                <button type="button" class="btn btn-grey" ng-click="cancelFun()">取消</button>
            </div>
        </div>
    </form>
</div>